package com.sjm.demo.service;

import com.alibaba.fastjson.JSONObject;
import com.sjm.demo.pojo.TestUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sjm
 * @since 2021-03-12
 */
public interface TestUserService extends IService<TestUser> {

    String getUserInfoByCode(String code);

    String getUnionidByCode(String code);

    String getAccessTokenByAppIdAndSecret();

    String getUserId(String unionid, String token);

    Object getUserInfoByUserId(String userId, String token);

    JSONObject getAppIdAndRedirectUri();
}
